package com.prs.crm.domain.person;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * 
 * @author Yanghao
 * 2012-6-27 15:27:27 奖惩记录
 */
@Entity
@Table(name="per_rewardandpunish")
public class RewardAndPunish extends BaseEntity{

	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private Integer id;
	/**奖惩区分*/
	private String type;
	/**奖惩时间*/
	private Date time;
	/**授予单位*/
	private String dep;
	/**奖惩人员*/
	private String people;
	/**奖惩人员Id*/
	private String peopleId;
	/**奖惩原因*/
	private String reason;
	/**奖惩项目*/
	private String name;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getDep() {
		return dep;
	}
	public void setDep(String dep) {
		this.dep = dep;
	}
	public String getPeople() {
		return people;
	}
	public void setPeople(String people) {
		this.people = people;
	}
	public String getPeopleId() {
		return peopleId;
	}
	public void setPeopleId(String peopleId) {
		this.peopleId = peopleId;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
